package com.yehuishou.dao;

import java.util.List;

import com.yehuishou.pojo.BackItem;
import com.yehuishou.pojo.Item;

//回收商品的接口


public interface BackItemDao {

	public  List<BackItem> getBack(BackItem backitem);

	public List<BackItem> getBackItemByparam(BackItem backitem);
	
	public void deleteByid(Integer id);
	
	public void deleteByids(Integer[] ids);
	
	public void addBackItem(BackItem backitem);
	
	public void updateBackItem(BackItem backitem);
	
    //验证添加的商品是否存在
	public List<BackItem> checkExist(BackItem backitem);
	
	public BackItem getOneById(Integer id);
	
	//用户删商品图片信息
    public void	 updateBackItemImage(BackItem backitem);
    
    
     public void changeBackStatus(BackItem backitem);
     
     public List<Item> getItemsBymid(Integer mid);
	
	

	
	
	
	

	

}
